package trism.trifield.controller {
	import trism.trifield.view.TrifieldView;
	import trism.trifield.model.TrifieldModel;
	import com.samoiloff.framework.controller.AbstractController;
	import flash.events.EventDispatcher;

	/**
	 * @author Samoiloff  http://samoiloff.com/
	 */
	public class TrifieldBaseController extends AbstractController {
		protected var _model : TrifieldModel;
		protected var _view : TrifieldView;
		
		
		
		public function TrifieldBaseController(model : TrifieldModel) {
			super(model);

			_model = model;
			_view = _model.view as TrifieldView;
			
			
		}
		
		
		override public function destroy() : void {
			_model = null;
			_view = null;
			
			super.destroy();
		}
		
	}
}
